
//- This Source Code Form is subject to the terms of the Mozilla Public
//- License, v. 2.0. If a copy of the MPL was not distributed with this
//- file, You can obtain one at http://mozilla.org/MPL/2.0/.
//-
//- Copyright (c) 2021-present Kaleidos Ventures SL

tg-lightbox-close

.content(ng-switch="key")
    .private-space(ng-switch-when="private-space")
        img(
            src="#{v}/svg/icons/project-limit.svg"
        )

        h2.title(
            translate="PROJECT.IMPORT.PROJECT_RESTRICTIONS.PRIVATE_PROJECTS_SPACE.TITLE"
            translate-values="{{values}}"
        )
        p.description(
            translate="PROJECT.IMPORT.PROJECT_RESTRICTIONS.PRIVATE_PROJECTS_SPACE.DESC"
            translate-values="{{values}}"
        )

    div(ng-switch-when="private-members")
        img(
            src="#{v}/svg/icons/block-user.svg"
        )

        h2.title(
            translate="PROJECT.IMPORT.PROJECT_RESTRICTIONS.PRIVATE_PROJECTS_MEMBERS.TITLE"
            translate-values="{{values}}"
        )
        p.description(
            translate="PROJECT.IMPORT.PROJECT_RESTRICTIONS.PROJECT_MEMBERS_DESC"
            translate-values="{{values}}"
        )

    div(ng-switch-when="private-space-members")
        img(
            src="#{v}/svg/icons/multi-block-project.svg"
        )

        h2.title(
            translate="PROJECT.IMPORT.PROJECT_RESTRICTIONS.PRIVATE_PROJECTS_SPACE_MEMBERS.TITLE"
            translate-values="{{values}}"
        )
        p.description(
            translate="PROJECT.IMPORT.PROJECT_RESTRICTIONS.PRIVATE_PROJECTS_SPACE_MEMBERS.DESC"
            translate-values="{{values}}"
        )

    div(ng-switch-when="public-space")
        img(
            src="#{v}/svg/icons/project-limit.svg"
        )

        h2.title(
            translate="PROJECT.IMPORT.PROJECT_RESTRICTIONS.PUBLIC_PROJECTS_SPACE.TITLE"
            translate-values="{{values}}"
        )
        p.description(
            translate="PROJECT.IMPORT.PROJECT_RESTRICTIONS.PUBLIC_PROJECTS_SPACE.DESC"
            translate-values="{{values}}"
        )

    div(ng-switch-when="public-members")
        img(
            src="#{v}/svg/icons/block-user.svg"
        )

        h2.title(
            translate="PROJECT.IMPORT.PROJECT_RESTRICTIONS.PUBLIC_PROJECTS_MEMBERS.TITLE"
            translate-values="{{values}}"
        )
        p.description(
            translate="PROJECT.IMPORT.PROJECT_RESTRICTIONS.PROJECT_MEMBERS_DESC"
            translate-values="{{values}}"
        )

    div(ng-switch-when="public-space-members")
        img(
            src="#{v}/svg/icons/multi-block-project.svg"
        )

        h2.title(
            translate="PROJECT.IMPORT.PROJECT_RESTRICTIONS.PUBLIC_PROJECTS_SPACE_MEMBERS.TITLE"
            translate-values="{{values}}"
        )
        p.description(
            translate="PROJECT.IMPORT.PROJECT_RESTRICTIONS.PUBLIC_PROJECTS_SPACE_MEMBERS.DESC"
            translate-values="{{values}}"
        )

    div.options
        a.button-green(
            translate="COMMON.ACCEPT"
            ng-click="close()"
        )
